home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / vdimgr.zoo / contrib / mgrterm / makefile < prev    next >
Encoding:
Makefile  |  1993-03-16  |  716 b   |  29 lines

  1. #
  2. # Makeile for mgrterm    ++jrb    bammi@cadence.com
  3. #  your gcc must understand -mint (gcc 1.39 does) otherwise you
  4. #  will have to ensure that mgrterm find the appropriate include
  5. #  file, start file and libraries from mntlib.
  6. #
  7. # adjust MGRLIB to where mgr16.olb and mgr lib include files may be
  8. # found.
  9. #
  10. # leave mkptypes out -- it is getting confused somewhere.
  11. #
  12. CC = gcc
  13. MGRLIB = e:/mgrlib
  14. OPT = -O -fomit-frame-pointer -fcombine-regs
  15. CFLAGS = $(OPT) -mshort -mint -I$(MGRLIB)  -v
  16.  
  17. mgrterm.prg : mgrterm.o
  18.     $(CC) -mint -mshort -o mgrterm.prg  mgrterm.o -L$(MGRLIB) -lmgr16 -v -s
  19.  
  20. mgrterm.o: mgrterm.c proto.h
  21. #proto.h: mgrterm.c
  22. #    mkptypes $^ > $@
  23.  
  24.     
  25. clean:
  26.     rm -f *.o
  27. realclean: clean
  28.     rm -f mgrterm.prg proto.h
  29.